export default {
  debug: true,
  state: {
    userInfo: {
      friends: [
        "6107668ff4c68f49f7cfa4f8",
        "6107956d4374315905594646",
      ],
      // _id: "6107668af4c68f49f7cfa4f6",
      username: "user1",
      password: "1",
      __v: 3,
    },
    get userId() {
      return this.userInfo._id
    },
  },
  setUserInfo(userInfo) {
    this.state.userInfo = userInfo
  },
  logOut() {
    this.state = {}
  },
}
